import { Column, CreateDateColumn, Entity, ObjectId, ObjectIdColumn } from "typeorm"

@Entity("log")
export class log {
    @ObjectIdColumn()  
    _id: ObjectId;  

    @Column()
    userId: string;

    @Column()
    flag: string;
    
    @Column()
    email: string;

    @CreateDateColumn()
    postDate: Date;
}
